package com.hyh.spring.damin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsPackage: com.hyh.spring.damin
 * @ClassName Account
 * @Author: hyhWTX
 * @CreateTime: 2023-06-06  12:23
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 总额度
     */
    private BigDecimal total;

    /**
     * 已用额度
     */
    private BigDecimal used;

    /**
     * 剩余额度
     */
    private BigDecimal residue;
}


